package com.example.pachong.pojo;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.List;

@Data
public class comments {
    private Reply reply;
    private User user;
    private List<subreplies> sub_replies;


    // 假设这是存储单个讨论项的类
    @Data
    public static class Reply {
        @SerializedName("uid")
        private String uid;
        @SerializedName("content")
        private String content;
        @SerializedName("floor_id")
        private String floorid;
        @SerializedName("created_at")
        private String createdat;


        // 其他getter和setter...
    }

    @Data
    public static class User {
        @SerializedName("uid")
        private String uid;
        @SerializedName("nickname")
        private String nickname;
        @SerializedName("ip_region")
        private String ipRegion;
        @SerializedName("level_exp")
        private levelexp levelexp;

        @Data
        public static class levelexp {
            private String level;
        }

    }

    @Data
    public static class subreplies {
        private Reply reply;
    }

}

